package com.manage.user.controller;

import com.manage.user.entity.User;
import com.manage.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @author Fitch
 */
@Controller
public class UserController {
    @Autowired
    private UserService userService;

    @RequestMapping("/login")
    public String getById(){

        return "page/main/login";
    }
    @RequestMapping("/main")
    public String main(){

        //return "page/main/main";
        return "page/test/index";
    }
    @RequestMapping("/userList")
    public String listUser(){

        return "page/user/userList";
    }


    @GetMapping("/more_info")
    public String moreInfo(){
        return "更多信息";
    }
}
